pp108 : Adding an Attribute to a WS-AppServer Model

Adding an Attribute to a WS-AppServer Model

This topic describes the procedure to add an attribute to a WS-AppServer model.

When you create a WS-AppServer package, the attributes and standard methods for the models are automatically generated. However, you can add more attributes based on the data model that you want to create.

  1. Double-click the <WS-AppServer Package> from either of the following locations:
    • Workspace Documents (My Recent Documents) window.
    • Workspace Documents (Explorer) > <solution> > <project> . The WS-AppServer Package window appears, displaying the data models and their corresponding attributes, methods, and relations.
  2. In the Models group box, right-click a model and select Add > Attribute. The Attribute Properties dialog box appears.
  3. Fill in the required details on the dialog box and click OK. The new attribute is created under the Attributes group box.

    An attribute is added to the WS-AppServer model and is displayed in the Attribute group box.

Related tasks

Adding Custom Methods to a WS-AppServer Model
Adding Standard Methods to a WS-AppServer Model
Adding a Parameter to a Method

Related reference

Method Properties Interface